package com.wish.housing.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.housing.entity.RoomReservation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.housing.entity.RoomReservationVO;
import com.wish.housing.entity.SysRegion;
import com.wish.housing.entity.TbRoomInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预约房源表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-03-26
 */
public interface RoomReservationMapper extends BaseMapper<RoomReservation> {

	IPage<RoomReservationVO> listAll(@Param("page") Page<RoomReservationVO> page, @Param("vo") RoomReservationVO vo);

	List<SysRegion> regions();

	int updateStatus(RoomReservationVO vo);


}
